]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Add a menu item to launch on the discrete GPU
authorBastien Nocera <hadess@hadess.net>
Wed, 19 Oct 2016 13:58:16 +0000 (15:58 +0200)
committerBastien Nocera <hadess@hadess.net>
Fri, 21 Oct 2016 17:26:49 +0000 (19:26 +0200)
commit009d021e4f93bfce69d1f4497612d804c88972b6
tree205b6448ff70d68ea6520550da64c400352ecb3a
parent39a840e2c3da5dc55059e25ccf8d80f2240c66cc
appDisplay: Add a menu item to launch on the discrete GPU

It will only show up when a discrete GPU is available (detected through
the switcheroo-control D-Bus service), and the application hasn't
alreayd been launched.

Note that this will not currently work for D-Bus activated applications,
eg. the menu item will be available, but the environment variable will
not be passed through to D-Bus to use when launching the application.

https://bugzilla.gnome.org/show_bug.cgi?id=773117
js/ui/appDisplay.js